<!doctype html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Activiti Editor</title>
    <link rel="icon" type="image/ico" href="favicon.ico">
    <meta name="description" content="">
    <meta name="viewport"
          content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, width=device-width">
    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->

    <link rel="Stylesheet" href="editor-app/libs/ui-grid_3.0.0/ui-grid.css" type="text/css"/>

    <!-- build:css styles/3thparty.css -->
    <link rel="stylesheet" href="editor-app/libs/bootstrap_3.1.1/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="editor-app/libs/bootstrap-tour_0.9.1/bootstrap-tour.min.css"/>
    <link rel="stylesheet" href="editor-app/libs/angular-spectrum-colorpicker_1.0.13/spectrum.css"/>
    <!-- endbuild -->

    <link rel="Stylesheet" media="screen" href="editor-app/editor/css/editor.css?v=2" type="text/css"/>
    <link rel="stylesheet" href="editor-app/css/style.css?v=2" type="text/css"/>

    <!-- build:css styles/style.css -->
    <link href="editor-app/css/common/style.css" rel="stylesheet">
    <link href="editor-app/css/common/style-retina.css" rel="stylesheet">
    <link rel="stylesheet" href="editor-app/css/style-editor.css">
    <!-- endbuild -->

</head>
<body ng-app="activitiModeler" ng-cloak>

<div class="navbar navbar-fixed-top navbar-inverse" role="navigation" id="main-header">
    <div class="fixed-container">
        <div class="navbar-header">
            <a ng-click="backToLanding()" class="landing-logo" ng-if="account != null && account != undefined" title="{{'GENERAL.MAIN-TITLE' | translate}}">
                <img ng-if="account.tenantPictureId && account.tenantId"
                     ng-src="{{restRootUrl()}}/app/rest/tenants/{{account.tenantId}}/logo">

                <img ng-if="!account.tenantPictureId" ng-src="{{appResourceRoot}}../images/activiti-logo.png">
            </a>
            <ul class="nav navbar-nav" id="main-nav" ng-show="authenticated">
                <li ng-class="{'active' : item.id == mainPage.id}" ng-repeat="item in mainNavigation"
                    ng-show="(authenticated && !item.unauthenticated) || (item.unauthenticated && !authenticated)">
                    <a ng-click="setMainPage(item)">{{item.title | translate}}</a>
                </li>
            </ul>
        </div>
        <div class="pull-right {{currentAppDefinition.definition.theme}}"
             ng-class="{'app-indicator': currentAppDefinition}" ng-if="authenticated" ng-cloack>
                <span ng-if="currentAppDefinition.definition.theme">
                    {{currentAppDefinition.name}}
                </span>
            <i class="glyphicon {{currentAppDefinition.definition.icon}}"></i>

            <div class="dropdown btn-group btn-group-sm" activiti-fix-dropdown-bug>
                <button type="button" class="btn btn-default dropdown-toggle"
                        data-toggle="dropdown">{{account.firstName}} {{account.lastName}}
                    <span class="glyphicon glyphicon-chevron-down" style="font-size: 10px" aria-hidden="true"></span>
                </button>
                <ul class="dropdown-menu pull-right">
                    <li><a href="" ng-click="logout()" translate>GENERAL.ACTION.LOGOUT</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>

<!--[if lt IE 9]>
<div class="unsupported-browser">
    <p class="alert error">You are using an unsupported browser. Please upgrade your browser in order to use the
        editor.</p>
</div>
<![endif]-->
<!--[if IE 9]>
<div id="no-flash-message" class="unsupported-browser" style="display: none">
    <p class="alert error">No Adobe Flash installed. Please install Adobe Flash in order to use the file upload capabilities on this version of Internet Explorer.</p>
</div>
<script>
    var hasFlash = false;
    try {
        hasFlash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
    } catch(exception) {
        hasFlash = ('undefined' != typeof navigator.mimeTypes['application/x-shockwave-flash']);
    }
    if (!hasFlash) {
        var showNoFlashMessage = function () {
            var element = document.getElementById('no-flash-message');
            element.style.display="block";
        };
        showNoFlashMessage();
    }
</script>
<![endif]-->
<div class="alert-wrapper" ng-cloak>
    <div class="alert fadein {{alerts.current.type}}" ng-show="alerts.current" ng-click="dismissAlert()">
        <i class="glyphicon"
           ng-class="{'glyphicon-ok': alerts.current.type == 'info', 'glyphicon-remove': alerts.current.type == 'error'}"></i>
        <span>{{alerts.current.message}}</span>

        <div class="pull-right" ng-show="alerts.queue.length > 0">
            <span class="badge">{{alerts.queue.length + 1}}</span>
        </div>
    </div>
</div>

<div id="main" class="wrapper full clearfix" ng-view="" ng-cloak ng-style="{height: window.height + 'px'}">
</div>

<!--[if lt IE 9]>
<script src="editor-app/libs/es5-shim-15.3.4.5/es5-shim.js"></script>
<script src="editor-app/libs/json3_3.2.6/lib/json3.min.js"></script>
<![endif]-->

<script src="editor-app/libs/jquery_1.11.0/jquery.min.js"></script>
<script src="editor-app/libs/jquery-ui-1.10.3.custom.min.js"></script>

<script src="editor-app/libs/angular_1.3.13/angular.min.js"></script>
<script src="editor-app/libs/angular-animate_1.3.13/angular-animate.min.js"></script>
<script src="editor-app/libs/bootstrap_3.1.1/js/bootstrap.min.js"></script>
<script src="editor-app/libs/angular-resource_1.3.13/angular-resource.min.js"></script>
<script src="editor-app/libs/angular-cookies_1.3.13/angular-cookies.min.js"></script>
<script src="editor-app/libs/angular-sanitize_1.3.13/angular-sanitize.min.js"></script>
<script src="editor-app/libs/angular-route_1.3.13/angular-route.min.js"></script>
<script src="editor-app/libs/angular-translate_2.4.2/angular-translate.min.js"></script>
<script src="editor-app/libs/angular-translate-storage-cookie/angular-translate-storage-cookie.js"></script>
<script src="editor-app/libs/angular-translate-loader-static-files/angular-translate-loader-static-files.js"></script>
<script src="editor-app/libs/angular-strap_2.1.6/angular-strap.min.js"></script>
<script src="editor-app/libs/angular-strap_2.1.6/angular-strap.tpl.min.js"></script>
<script src="editor-app/libs/momentjs_2.5.1/momentjs.min.js"></script>
<script src="editor-app/libs/bootstrap-tour_0.9.1/bootstrap-tour.min.js"></script>
<script src="editor-app/libs/ng-file-upload/ng-file-upload-shim.min.js"></script>
<script src="editor-app/libs/ng-file-upload/ng-file-upload.min.js"></script>

<script src="editor-app/libs/ui-utils.min-0.2.1.js" type="text/javascript"></script>
<script src="editor-app/libs/ui-grid_3.0.0/ui-grid.js" type="text/javascript"></script>
<script src="editor-app/libs/angular-dragdrop_1.0.11/angular-dragdrop.min.js" type="text/javascript"></script>
<script src="editor-app/libs/mousetrap-1.4.5.min.js" type="text/javascript"></script>
<script src="editor-app/libs/jquery.autogrow-textarea.js" type="text/javascript"></script>

<script src="editor-app/libs/prototype-1.5.1.js" type="text/javascript"></script>
<script src="editor-app/libs/path_parser.js" type="text/javascript"></script>

<script src="editor-app/libs/angular-spectrum-colorpicker_1.0.13/spectrum.js" type="text/javascript"></script>
<script src="editor-app/libs/angular-spectrum-colorpicker_1.0.13/angular-spectrum-colorpicker.min.js" type="text/javascript"></script>
<script src="editor-app/libs/angular-scroll_0.5.7/angular-scroll.min.js" type="text/javascript"></script>
<script src="editor-app/libs/angular-drag-and-drop-lists_1.2.0/angular-drag-and-drop-lists.js" type="text/javascript"></script>
<script src="editor-app/libs/html2canvas_0.4.1/html2canvas.js"></script>

<!-- Configuration -->
<script src="editor-app/app-cfg.js?v=2"></script>

<!-- build:js scripts/scripts.js -->
<script src="editor-app/editor/i18n/translation_en_us.js" type="text/javascript"></script>
<script src="editor-app/editor/i18n/translation_signavio_en_us.js" type="text/javascript"></script>
<script src="editor-app/editor/oryx.js" type="text/javascript"></script>

<script src="editor-app/common/http-auth-interceptor.js"></script>
<script src="editor-app/common/services/auth-services.js"></script>
<script src="editor-app/common/app.js"></script>
<script src="editor-app/common/editor-directives.js"></script>
<script src="editor-app/common/controllers/processes.js"></script>
<script src="editor-app/common/controllers/process.js"></script>
<script src="editor-app/common/controllers/forms.js"></script>
<script src="editor-app/common/controllers/form.js"></script>
<script src="editor-app/common/controllers/decision-tables.js"></script>
<script src="editor-app/common/controllers/decision-table.js"></script>
<script src="editor-app/common/controllers/app-definitions.js"></script>
<script src="editor-app/common/controllers/app-definition.js"></script>
<script src="editor-app/common/controllers/model-common-actions.js"></script>

<script src="editor-app/common/services/util-services.js"></script>
<script src="editor-app/common/services/identity-services.js"></script>

<script src="editor-app/common/services/form-services.js"></script>
<script src="editor-app/common/controllers/form-builder.js"></script>
<script src="editor-app/configuration/form-builder-toolbar-default-actions.js" type="text/javascript"></script>
<script src="editor-app/configuration/form-builder-toolbar.js" type="text/javascript"></script>
<script src="editor-app/common/controllers/form-toolbar-controller.js" type="text/javascript"></script>
<script src="editor-app/common/controllers/form-readonly-view.js"></script>

<script src="editor-app/common/services/decision-table-service.js"></script>
<script src="editor-app/common/controllers/decision-table-editor.js"></script>
<script src="editor-app/configuration/decision-table-toolbar-default-actions.js" type="text/javascript"></script>
<script src="editor-app/configuration/decision-table-toolbar.js" type="text/javascript"></script>
<script src="editor-app/common/controllers/decision-table-toolbar-controller.js" type="text/javascript"></script>

<script src="editor-app/common/controllers/app-definition-builder.js"></script>
<script src="editor-app/configuration/app-definition-toolbar-default-actions.js" type="text/javascript"></script>
<script src="editor-app/configuration/app-definition-toolbar.js" type="text/javascript"></script>
<script src="editor-app/common/controllers/app-definition-toolbar-controller.js" type="text/javascript"></script>

<script src="editor-app/eventbus.js" type="text/javascript"></script>

<script src="editor-app/editor-controller.js" type="text/javascript"></script>
<script src="editor-app/stencil-controller.js" type="text/javascript"></script>
<script src="editor-app/toolbar-controller.js" type="text/javascript"></script>
<script src="editor-app/header-controller.js" type="text/javascript"></script>
<script src="editor-app/select-shape-controller.js" type="text/javascript"></script>
<script src="editor-app/define-data-controller.js" type="text/javascript"></script>

<script src="editor-app/tour.js" type="text/javascript"></script>
<script src="editor-app/editor-utils.js" type="text/javascript"></script>
<script src="editor-app/configuration/toolbar-default-actions.js" type="text/javascript"></script>

<script src="editor-app/configuration/properties-default-controllers.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-execution-listeners-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-event-listeners-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-assignment-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-fields-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-form-properties-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-in-parameters-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-multiinstance-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-out-parameters-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-task-listeners-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-collapsed-subprocess-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-form-reference-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-sequenceflow-order-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-condition-expression-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-signal-definitions-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-signal-scope-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-message-definitions-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-message-scope-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-duedate-controller.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-decisiontable-reference-controller.js" type="text/javascript"></script>

<script src="editor-app/editor-config.js" type="text/javascript"></script>

<script src="editor-app/configuration/url-config.js" type="text/javascript"></script>

<script src="editor-app/configuration/toolbar.js" type="text/javascript"></script>
<script src="editor-app/configuration/toolbar-custom-actions.js" type="text/javascript"></script>

<script src="editor-app/configuration/properties.js" type="text/javascript"></script>
<script src="editor-app/configuration/properties-custom-controllers.js" type="text/javascript"></script>

<script src="editor-app/configuration/kis-header-custom.js" type="text/javascript"></script>
<script src="editor-app/configuration/kis-toolbar-custom-actions.js" type="text/javascript"></script>

<script src="editor-app/common/services/related-content-service.js"></script>
<script src="editor-app/common/directives.js"></script>
<script src="editor-app/common/providers-config.js"></script>
<script src="editor-app/common/services/resource-service.js"></script>
<script src="editor-app/common/services/recursion-helper.js"></script>
<script src="editor-app/common/services/authentication-service.js"></script>
<script src="editor-app/common/services/runtime-app-definition-service.js"></script>
<script src="editor-app/common/controllers/about.js"></script>
<!-- endbuild -->

<!-- Integration extensions -->
<script src="editor-app/resource-loader.js?v=2" app="editor"></script>

</body>
</html>